<?

/**
* local collection functions of tocmenu_Y3
*
* @author Adesanto Asman
* @version 1.0
* @license Free
* @copyright Copyright (c)2007, Adesanto Asman
* @package CLHandlers
* 
*/

/**
* @package CLHandlers
* 
*/
class CLHandlers{
  
	/**
	 * insert into db detail
	 *
	 * @param string $Db
	 * @param string $values
	 * @param string $srcDb
	 * 
	 */
  function insToDtl(&$Db,
                    &$values,
                    &$srcDb){
                    	
    $query  = "INSERT INTO ".$srcDb." 
               (LEVELMN,
                TRANSACTION,
                PROGRAMS,
                STATUS)
               VALUES(".$values.") ";
    
    $Db->execQuery($query);
  }
  
  function dbEntDelete($Db,
                       $levelMn,
                       $srcDb){
                       	
    $query  = "DELETE FROM ".$srcDb."
               WHERE  LEVELMN='".$levelMn."' ";
    
    $Db->execQuery($query);
  }
}

?> 